* {
  box-sizing: border-box;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  margin: 0;
  height: 100vh;
  width: 100%;
  padding: 10px;
  background: transparent;
  font-family: "Helvetica Neue", Helvetica, "PingFang SC", "Hiragino Sans GB",
    "Microsoft YaHei", "微软雅黑", Arial, sans-serif;
  user-select: none;
  overflow: hidden;
  font-weight: 100;
  &.show{
    padding: 0;
    font-weight: 400;
  }
  #app {
    visibility: hidden;
  }
}

.login-tooltip .el-popper__arrow {
  left: auto !important;
  right: 25px !important;
}

.el-loading-mask {
  -webkit-app-region: drag;
}

#popup-in,
input,
button,
.routers-box,
.see-detail-btn,
textarea,
.searchBtn,
.el-checkbox,
.pageNav,
.el-switch,
tbody,
.el-picker-panel{
  -webkit-app-region: no-drag;
}

a {
  text-decoration: none;
}

.el-button {
  &.el-button--primary {
    box-shadow: 0 10px 10px -8px #7844e6d4 !important;
  }
  &.el-button--warning {
    box-shadow: 0 10px 10px -8px #e6a23cd4 !important;
  }
  &.el-button--danger {
    box-shadow: 0 10px 10px -8px #f56c6cd4 !important;
  }
  &.el-button--success {
    box-shadow: 0 10px 10px -8px #67c23ad4 !important;
  }
}

.el-descriptions--medium.is-bordered th,
.el-descriptions--medium.is-bordered td {
  word-break: break-all;
}

.date-picker {
  &.el-date-editor.el-range-editor.el-input__inner {
      width: 220px !important;
  }
  &.el-date-editor .el-range-input {
      width: 88px !important;
  }
  &.el-date-editor .el-range-separator {
      width: 20px !important;
  }
}

.el-table--scrollable-y .el-table__body-wrapper{
  &:hover{
    	&::-webkit-scrollbar{
        display: block;
	    }
  }
  /* 设置滚动条的样式 */
	&::-webkit-scrollbar{
			width: 2px;
      display: none;
	}
	/*滚动槽*/
	&::-webkit-scrollbar-track{
			-webkit-box-shadow:inset 0 0 6px #0000004d ;
			border-radius: 2px;
	}
	/* 滚动条滑块 */
	&::-webkit-scrollbar-thumb {
			border-radius: 2px;
			background: rgba(0, 0, 0, 0.1);
			-webkit-box-shadow: inset 0 0 6px rgba(0,0,0,.1);
	}
	&::-webkit-scrollbar-thumb:window-inactive {
			background: #0000004d;
	}
}